$(function () {
	alert('资源管理器');

	setFrameHeight();
	window.addEventListener('resize', setFrameHeight);

	console.log($('#main_frame').width());
	console.log($('#main_frame').height());

});


function setFrameHeight() {
	var height = $('body').height();
	height -= $('header').height();
	height -= $('footer').height();
	$('#frame').height(height);
}